package com.ruoyi.project.oms.paeaAuPoint.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.oms.paeaAuPoint.domain.PaeaAuPoint;
import java.util.List;

/**
 * 监督点定义Mapper接口
 *
 * @author 关晓强
 * @date 2020-03-14
 */
public interface PaeaAuPointMapper extends BaseMapper<PaeaAuPoint>
{
    /**
     * 查询监督点定义
     *
     * @param id 监督点定义ID
     * @return 监督点定义
     */
    public PaeaAuPoint selectPaeaAuPointById(String id);

    /**
     * 查询监督点定义列表
     *
     * @param paeaAuPoint 监督点定义
     * @return 监督点定义集合
     */
    public List<PaeaAuPoint> selectPaeaAuPointList(PaeaAuPoint paeaAuPoint);

    /**
     * 新增监督点定义
     *
     * @param paeaAuPoint 监督点定义
     * @return 结果
     */
    public int insertPaeaAuPoint(PaeaAuPoint paeaAuPoint);

    /**
     * 修改监督点定义
     *
     * @param paeaAuPoint 监督点定义
     * @return 结果
     */
    public int updatePaeaAuPoint(PaeaAuPoint paeaAuPoint);

    /**
     * 删除监督点定义
     *
     * @param id 监督点定义ID
     * @return 结果
     */
    public int deletePaeaAuPointById(String id);

    /**
     * 批量删除监督点定义
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deletePaeaAuPointByIds(String[] ids);

    /**
     * 通过监督Id 查询 监督点
     * @param itemId
     * @return 监督点集合
     */
    public List<PaeaAuPoint> queryPaeaAuPointsByAuditItem(String itemId);
}
